<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <style>
    .scrolling-text-container {
      white-space: nowrap;
      overflow: hidden;
      width: 100%;
    }

    .scrolling-text {
      display: inline-block;
      animation: scrolling 10s linear infinite;
    }

    @keyframes scrolling {
      from {
        transform: translateX(100%);
      }
      to {
        transform: translateX(-100%);
      }
    }
  </style>
</head>
<body>

<div class="scrolling-text-container">
  <div class="scrolling-text">
    This is a long text that will automatically scroll horizontally.
  </div>
</div>

</body>
</html>
